package com.ruoyi.store.mapper;

import com.ruoyi.stage.domain.StuStage;
import com.ruoyi.store.domain.QuesCounts;
import com.ruoyi.store.domain.StuQuestion;
import com.ruoyi.store.domain.StuQuestionStore;

import java.util.List;

public interface StuQuestionMapper {
    /**
     * 显示题目信息
     */
    List<StuQuestion> selectStuQuestionList(StuQuestion stuQuestion);


    List<Long> selectStuStoresListByQuesId(Long quesId);

    StuQuestion selectQuesById(Long quesId);

    /**
     * 新增题目
     */
    int insertStuQuestion(StuQuestion stuQuestion);

    /**
     * 修改题目
     */
    int updateStuQuestion(StuQuestion stuQuestion);

    /**
     * 删除题目
     */
    int delStuQuesByIds(Long[] quesIds);


    List<StuQuestion> selectAllQues();


    List<StuQuestion> selectQuesByStoreId(Long storeId);

    Long selectSingleCounts();
    Long selectManyCounts();
    Long selectJudgeCounts();
    Long selectAnswerCounts();

    Long selectSimpleCounts();
    Long selectCommonCounts();
    Long selectHardCounts();

    Long countQues();
}


